/**
 * 
 */
package platform.cas.server.authentication.handler;

import org.jasig.cas.authentication.handler.PasswordEncoder;

import platform.cas.server.authentication.utils.Md5PwdEncoder;

/**
 * @author Jacken
 * 
 */
public class MD5PasswordEncoder implements PasswordEncoder {

	public String encode(String password) {
		if (password == null) {
			return null;
		}
		return new Md5PwdEncoder().encodePassword(password);
	}

}
